/*
 * Copyright (c) 2007-2020 西安交通信息投资营运有限公司 版权所有
 */

package com.xci.edu.core.filter;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.github.lvyanyang.core.BaseFilter;
import com.github.lvyanyang.core.BasePageFilter;
import com.github.lvyanyang.core.Const;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;

/**
 * 考试记录过滤对象
 * @author 马星俊 maxingjun@xci96716.com
 * @since 2020-11-25 10:52:08"
 */
@Builder
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "考试记录过滤对象")
public class ExamRecordFilter extends BasePageFilter {
    /**
     * 考试记录主键
     */
    @ApiModelProperty(value = "考试记录主键", position = 1)
    private Long id;

    /**
     * 学员主键
     */
    @ApiModelProperty(value = "学员主键", position = 2)
    private Long studentId;

    /**
     * 学员姓名
     */
    @ApiModelProperty(value = "学员姓名", position = 3)
    private String studentName;

    /**
     * 学员证件号码
     */
    @ApiModelProperty(value = "学员证件号码", position = 4)
    private String studentIdNumber;

    /**
     * 试卷主键
     */
    @ApiModelProperty(value = "试卷主键", position = 5)
    private Long paperId;

    /**
     * 试卷名称
     */
    @ApiModelProperty(value = "试卷名称", position = 6)
    private String paperName;

    /**
     * 科目主键
     */
    @ApiModelProperty(value = "科目主键", position = 7)
    private Long eduCategoryId;

    /**
     * 科目名称
     */
    @ApiModelProperty(value = "科目名称", position = 8)
    private String eduCategoryName;

    /**
     * 学员考试分数
     */
    @ApiModelProperty(value = "学员考试分数", position = 9)
    private Integer examScore;

    /**
     * 学员考试结果[0-不及格, 1-及格]
     */
    @ApiModelProperty(value = "学员考试结果[0-不及格, 1-及格]", position = 10)
    private Integer examResult;

    /**
     * 开考时间
     */
    @ApiModelProperty(value = "开考时间", position = 11)
    private Date examStartDateTime;

    /**
     * 交卷时间
     */
    @ApiModelProperty(value = "交卷时间", position = 12)
    private Date examEndDateTime;

    /**
     * 开始用时(分钟)
     */
    @ApiModelProperty(value = "开始用时(分钟)", position = 13)
    private Integer examDuration;

    /**
     * 状态[0-未开始, 1-考试中, 1-已交卷]
     */
    @ApiModelProperty(value = "状态[0-未开始, 1-考试中, 1-已交卷]", position = 14)
    private Integer status;

}